]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Test stuff
authorOwen W. Taylor <otaylor@fishsoup.net>
Thu, 28 Aug 2014 19:54:30 +0000 (15:54 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Wed, 3 Sep 2014 17:45:01 +0000 (13:45 -0400)
js/perf/hwtest.js

index 9cc0db85e386cae65023c8715b942b3b8fd56bc5..4357b77d8c23aa0cf72a955872562872d07ed948 100644 (file)
@@ -157,9 +157,13 @@ function run() {
 
     yield Scripting.sleep(1500);
 
+    log ("OVERVIEW DRAW START");
+//    Meta.show_pixel_count(true);
     Scripting.scriptEvent('overviewDrawStart');
     yield waitAndDraw(1000);
     Scripting.scriptEvent('overviewDrawDone');
+//    Meta.show_pixel_count(false);
+    log ("OVERVIEW DRAW DONE");
 
     yield Scripting.destroyTestWindows();
     Main.overview.hide();
@@ -186,7 +190,7 @@ function run() {
     yield Scripting.sleep(1000);
 
     ////////////////////////////////////////
-
+if (0) {
     let appSys = Shell.AppSystem.get_default();
     let app = appSys.lookup_app('org.gnome.gedit.desktop');
 
@@ -212,6 +216,8 @@ function run() {
 
     yield Scripting.sleep(1000);
 
+    }
+
     Gtk.Settings.get_default().gtk_enable_animations = true;
 }
 
@@ -270,7 +276,9 @@ function script_redrawTestDone(time) {
 function script_collectTimings(time) {
     for (let timing in redrawTimes) {
         let times = redrawTimes[timing];
+        log(timing + ': ' + times.join(' '));
         times.sort(function(a, b) { return a - b });
+        log(timing + ': ' + times.join(' '));
 
         let len = times.length;
         let median;